@import './4-less-函数.less';

#style() {
  .button {
    width: 200px;
    height: 100px;
    background-color: teal;
    color: white;
  }
  .tab {
    width: 50px;
    height: 50px;
    background-color: orange;
  }
  primary: blue;
}

div {
  color: #style[primary];
  margin: 10px;
  background-color: palegreen;
  // 命名空间中样式的映射
  #style.tab();
}